<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<title>信息统计</title>
	<%@ include file="layouts/top.jsp"%>
	
	<script type="text/javascript" charset="UTF-8" src="${ctx}/js/highcharts.js"/></script>
	<script type="text/javascript" charset="UTF-8" src="${ctx}/js/statistics/TimeInit.js"/></script>
</head>
<body>
	<div id="toolbar" class="search_bar" style="height:auto">
		<table style="width:50%">
			<tbody>
				<tr class="line_0">
					<td class="search_title">时间:</td>
					<td class="search_content">
						<select id="timeCondition" class="easyui-combobox" style="width:100px;">
							<option value="year">按年</option>
							<option value="month">按月</option>
							<option value="day">按日</option>
<!-- 							<option value="define" selected>自选</option> -->
						</select>
					</td>
				</tr>
				<tr class="line_1" id="timeFromTo">
					<td class="search_title">日期&nbsp;从:</td>
					<td class="search_content">
						<input id="startTime_query" class="easyui-datebox" style="width:150px" />
					</td>
					<td class="search_title">到:</td>
					<td class="search_content">
						<input id="endTime_query" class="easyui-datebox" style="width:150px" />
					</td>
				</tr>
			</tbody>
		</table>
		<a href="###" class="easyui-linkbutton" onclick="queryTime()" iconCls="icon-search">查询</a>
	</div>
	<table id="dg" class="easyui-datagrid" toolbar="#toolbar"
		rownumbers="true" fitColumns="true" singleSelect="true">
		<thead>
			<tr>
				<th field="time" formatter="formatTime" width="50">时间</th>
				<th field="orders" formatter="formatOrders" width="50">订单数</th>
			</tr>
		</thead>
	</table>
	
	<div title="数据图" id="container"></div>

</body>
</html>